package com.librelato.negocio;

import java.util.List;
import java.util.Map;

import com.librelato.bean.HistoricoBean;
import com.librelato.negocio.interfaces.IHistoricoChamadoServico;
import com.librelato.persistencia.HistoricoChamadoDao;
import com.librelato.persistencia.interfaces.IDaoGenerico;
import com.librelato.persistencia.interfaces.IHistoricoChamadoDao;

public class HistoricoChamadoServico<P extends HistoricoBean> extends
		ServicoGenerico<P> implements IHistoricoChamadoServico<P> {
	
	private final IHistoricoChamadoDao<HistoricoBean> dao;
	
	public HistoricoChamadoServico() {
		this.dao = new HistoricoChamadoDao<HistoricoBean>();
	}

	@Override
	public void excluir(P p) throws Exception {
	}

	@Override
	public P salvar(P p) throws Exception {
		return null;
	}

	@Override
	public void editar(P p) throws Exception {
	}

	@Override
	public IDaoGenerico<P> getDao() {
		return null;
	}

	@Override
	public void preSalvar(P p) {
	}

	@Override
	public void posSalvar(P p) {
	}
	
	@Override
	public List<HistoricoBean> buscaHistoricos(Map<String, String> param) throws Exception {
		return this.dao.buscaHistoricos(param);
	}
	

}
